package com.lxd.entity.query;

import com.sun.org.apache.xpath.internal.operations.Bool;

import java.util.Date;


/**
 * 评论表参数
 */
public class CommentQuery extends BaseParam {


	/**
	 * 评论ID
	 */
	private Long id;

	/**
	 * 评论人ID
	 */
	private Long userId;

	/**
	 * 评论的新闻ID
	 */
	private Long newsId;

	/**
	 * 评论的活动ID
	 */
	private Long activityId;

	/**
	 * 评论内容
	 */
	private String content;

	private String contentFuzzy;

	/**
	 * 创建时间
	 */
	private String createdAt;

	private String createdAtStart;

	private String createdAtEnd;

	/**
	 * 更新时间
	 */
	private String updatedAt;

	private String updatedAtStart;

	private String updatedAtEnd;
	//是否展示 username ，title？
	private Boolean isAll;

	private String token;
	/**
	 * 评论状态 1:展示 0:隐藏
	 */
	private Integer status;
	/**
	 * 点赞数 最小和最大
	 */
	private Integer likeCountMin;
	private Integer likeCountMax;

	private String activityTitle;
	private String newsTitle;
	private String userName;

	public String getActivityTitle() {
		return activityTitle;
	}

	public void setActivityTitle(String activityTitle) {
		this.activityTitle = activityTitle;
	}

	public String getNewsTitle() {
		return newsTitle;
	}

	public void setNewsTitle(String newsTitle) {
		this.newsTitle = newsTitle;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public Integer getLikeCountMin() {
		return likeCountMin;
	}

	public void setLikeCountMin(Integer likeCountMin) {
		this.likeCountMin = likeCountMin;
	}

	public Integer getLikeCountMax() {
		return likeCountMax;
	}

	public void setLikeCountMax(Integer likeCountMax) {
		this.likeCountMax = likeCountMax;
	}
	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public String getToken() {
		return token;
	}

	public void setToken(String token) {
		this.token = token;
	}


	public void setId(Long id){
		this.id = id;
	}

	public Long getId(){
		return this.id;
	}

	public void setUserId(Long userId){
		this.userId = userId;
	}

	public Long getUserId(){
		return this.userId;
	}

	public void setNewsId(Long newsId){
		this.newsId = newsId;
	}

	public Long getNewsId(){
		return this.newsId;
	}

	public void setActivityId(Long activityId){
		this.activityId = activityId;
	}

	public Long getActivityId(){
		return this.activityId;
	}

	public void setContent(String content){
		this.content = content;
	}

	public String getContent(){
		return this.content;
	}

	public void setContentFuzzy(String contentFuzzy){
		this.contentFuzzy = contentFuzzy;
	}

	public String getContentFuzzy(){
		return this.contentFuzzy;
	}

	public void setCreatedAt(String createdAt){
		this.createdAt = createdAt;
	}

	public String getCreatedAt(){
		return this.createdAt;
	}

	public void setCreatedAtStart(String createdAtStart){
		this.createdAtStart = createdAtStart;
	}

	public String getCreatedAtStart(){
		return this.createdAtStart;
	}
	public void setCreatedAtEnd(String createdAtEnd){
		this.createdAtEnd = createdAtEnd;
	}

	public String getCreatedAtEnd(){
		return this.createdAtEnd;
	}

	public void setUpdatedAt(String updatedAt){
		this.updatedAt = updatedAt;
	}

	public String getUpdatedAt(){
		return this.updatedAt;
	}

	public void setUpdatedAtStart(String updatedAtStart){
		this.updatedAtStart = updatedAtStart;
	}

	public String getUpdatedAtStart(){
		return this.updatedAtStart;
	}
	public void setUpdatedAtEnd(String updatedAtEnd){
		this.updatedAtEnd = updatedAtEnd;
	}

	public String getUpdatedAtEnd(){
		return this.updatedAtEnd;
	}

	public Boolean getAll() {
		return isAll;
	}

	public void setAll(Boolean all) {
		isAll = all;
	}

}
